import { msOfDay } from "./constants"

export function diffDay(start: Date, end: Date): number {
  return ~~((end.getTime() - start.getTime()) / msOfDay)
}
